package edu.ynu.se.xiecheng.achitectureclass.camera.dao;

import edu.ynu.se.xiecheng.achitectureclass.camera.entity.CameraImage;
import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import edu.ynu.se.xiecheng.achitectureclass.device.entity.Device;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CameraImageDAO extends LogicDAO<CameraImage, Long> {
    List<CameraImage> findByDeviceOrderByCaptureTimeDesc(Device device);
} 